package com.woman.beautylive.util;

/**
 * @author Muyangmin
 * @since 1.0.0
 */
public class Const {
    public static final int VIEW_THROTTLE_TIME = 50;

    /**
     * 直播间心心防抖动时间。
     * 1s <= 50次点击。
     */
    public static final int LIVE_ROOM_HEART_THROTTLE = 200;

    /**
     * WS服务器地址。
     */
//    139.129.19.190美丽播
//    public static final String WS_HOST_FOR_PING = "114.55.150.132";
    public static final String WS_HOST_FOR_PING = "114.55.150.132";
//    public static final String WS_HOST_FOR_PING = "chatroom.cxtv.kaduoxq.com";

    /**
     * Web Socket 服务器地址。
     */
    public static final String SOCKET_URL = "ws://" + WS_HOST_FOR_PING + ":7272";

    /**
     * 主站域名。
     */
    private static final String MAIN_HOST_DEV = "192.168.2.104:80";
//    private static final String MAIN_HOST_TEST = "meilibo.cxtv.kaduoxq.com";
//    demo.meilibo.net
//    public static final String MAIN_HOST_TEST = "114.55.36.241";
//    www.51pride.com
//    net.cn
    public static final String MAIN_HOST_TEST = "www.51mry.cn";

    public static final String PLAYER_BASE_URL = "rtmp://daniulive.com:1935/hls/stream";
    public static final String PUBLISH_BASE_URL = PLAYER_BASE_URL;

    /**
     * API主机域名
     */
    public static final String MAIN_HOST_FOR_PING = MAIN_HOST_TEST;

//    public static final String MAIN_HOST_URL = "http://" + MAIN_HOST_FOR_PING;

    public static final String MAIN_HOST_URL = "http://" + MAIN_HOST_FOR_PING;

    public static final String WEB_BASE_URL = "http://www.51mry.cn/OpenAPI/v1/";

    public static final String LIVE_FINISH_BROADCAST_ACTION = "com.woman.beautylive.ACTION_FINISH";
//    http://demo.meilibo.net/OpenAPI/v1/
    public static final String NEW_URL="http://www.51mry.cn/OpenAPI/v1/";
    public static final String IMAG_NEW_URL="http://www.51mry.cn";


    /**
     * 微信开放平台appId
     */
//    {
//        appid='wxd3a0862e8aa184c5',
//                partnerid='1392136302',
//                prepayid='wx20160929190333e5ae82414e0263242478',
//                noncestr='84cc21ae123402f87225249ada063fcc',
//                timestamp='1475147013',
//                packagee='Sign=WXPay',
//                sign='A001268B0BF65B0D3DB0167F674E994D'
//    }
            //old:wxd87b8fe22a008417
            //服务器上的：wxd3a0862e8aa184c5 wxd3a0862e8aa184c5
    public static final String WX_APPID = "wxd3a0862e8aa184c5";
    public static final String PAY_RESULT_STATUS_SUCCESS = "200";
    public static final String PAY_RESULT_STATUS_FAIL = "500";
    public static final String PAY_TYPE_WEIXIN = "1";
}
